/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.com.proteu.hibernate.beans;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 *
 * @author ricardo
 */
@Entity
@Table(name="GAMA")
public class GamaProteu implements Serializable{

    @Id
    @Column(name="GAM_ST_CODIGO")
    private String gamStCodigo;
    @Column(name="GAM_IN_LINK_CODIGO")
    private Integer gamInLinkCodigo;
    @Column(name="GAM_ST_PROCEDIMENTO")
    private String gamStProcedimento;
    @Column(name="GAM_IN_VALOR")
    private Integer gamInValor;
    @Column(name="GAM_FL_VALOR")
    private Float gamFlValor;
    @Column(name="GAM_IN_NUM_ASSISTENCIA")
    private Integer gamInNumAssistencia;
    @Column(name="GAM_IN_ANESTETICA")
    private Integer gamInAnestetica;
    @Column(name="GAM_FL_FILME")
    private Float gamFlFilme;
    @Column(name="GAM_IN_OCORRENCIA")
    private Integer gamInOcorrencia;
    @Column(name="GAM_FL_CUSTO_OPERACIONAL_CH")
    private Float gamFlCustoOperacionalCH;
    @Column(name="GAM_ST_UR")
    private String gamStUr;


    public Float getGamFlCustoOperacionalCH() {
        return gamFlCustoOperacionalCH;
    }

    public void setGamFlCustoOperacionalCH(Float gamFlCustoOperacionalCH) {
        this.gamFlCustoOperacionalCH = gamFlCustoOperacionalCH;
    }

    public Float getGamFlFilme() {
        return gamFlFilme;
    }

    public void setGamFlFilme(Float gamFlFilme) {
        this.gamFlFilme = gamFlFilme;
    }

    public Float getGamFlValor() {
        return gamFlValor;
    }

    public void setGamFlValor(Float gamFlValor) {
        this.gamFlValor = gamFlValor;
    }

    public Integer getGamInAnestetica() {
        return gamInAnestetica;
    }

    public void setGamInAnestetica(Integer gamInAnestetica) {
        this.gamInAnestetica = gamInAnestetica;
    }

    public Integer getGamInLinkCodigo() {
        return gamInLinkCodigo;
    }

    public void setGamInLinkCodigo(Integer gamInLinkCodigo) {
        this.gamInLinkCodigo = gamInLinkCodigo;
    }

    public Integer getGamInNumAssistencia() {
        return gamInNumAssistencia;
    }

    public void setGamInNumAssistencia(Integer gamInNumAssistencia) {
        this.gamInNumAssistencia = gamInNumAssistencia;
    }

    public Integer getGamInOcorrencia() {
        return gamInOcorrencia;
    }

    public void setGamInOcorrencia(Integer gamInOcorrencia) {
        this.gamInOcorrencia = gamInOcorrencia;
    }

    public Integer getGamInValor() {
        return gamInValor;
    }

    public void setGamInValor(Integer gamInValor) {
        this.gamInValor = gamInValor;
    }

    public String getGamStCodigo() {
        return gamStCodigo;
    }

    public void setGamStCodigo(String gamStCodigo) {
        this.gamStCodigo = gamStCodigo;
    }

    public String getGamStProcedimento() {
        return gamStProcedimento;
    }

    public void setGamStProcedimento(String gamStProcedimento) {
        this.gamStProcedimento = gamStProcedimento;
    }

    public String getGamStUr() {
        return gamStUr;
    }

    public void setGamStUr(String gamStUr) {
        this.gamStUr = gamStUr;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final GamaProteu other = (GamaProteu) obj;
        if ((this.gamStCodigo == null) ? (other.gamStCodigo != null) : !this.gamStCodigo.equals(other.gamStCodigo)) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        int hash = 7;
        hash = 17 * hash + (this.gamStCodigo != null ? this.gamStCodigo.hashCode() : 0);
        return hash;
    }



}
